package com.bjpowernode.service.impl;

import com.bjpowernode.entity.TPermission;
import com.bjpowernode.mapper.TPermissionMapper;
import com.bjpowernode.service.TpermissionService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TpermissionServiceImpl implements TpermissionService {

    @Resource
    private TPermissionMapper tPermissionMapper;

    @Override
    public List<TPermission> selectMenuPermissionByUserId(Integer userId) {
        return tPermissionMapper.selectMenuPermissionByUserId(userId);
    }
}
